/**
 * 公共头部
 * 相关的样式
 */
/**
 * 所有公用的样式
 * 相关的样式
 */
/* 文字基本颜色 */
i,
cite,
em,
var,
address,
dfn {
    font-style: normal;
}
a {
    color: #999999;
}
a:hover {
    color: rgb(60,171,255);
}

.layui-main {
    width : 1172px;
    margin: 0 auto;
}


.icon-arrow {
    display: inline-block;
    border-right: 2px solid;
    border-top: 2px solid;
    height: 10px;
    width: 10px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    /*不加这两个属性三角会比上一个略丑, 可以试一下*/
}
.icon-arrow-l {
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
.icon-arrow-r {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.icon-arrow-t {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.icon-arrow-b {
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}
.red {
    color: rgb(60,171,255);
}

/**
 * 公共底部
 * 相关的样式
 */

.we-rank {
    margin: 40px auto;
}
.we-rank__list {
    width: 275px;
    height: 552px;
    display: inline-block;
    padding: 10px;
    margin-bottom: 20px;
    margin-right: 20px;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    clear: both;
    overflow: hidden;
}
.we-rank__list:nth-child(4n) {
    margin-right: 0;
}
.we-rank__list .title-wrap {
    font-size: 22px;
    color: #000000;
    line-height: 42px;
    border-bottom: 1px solid #000000;
}
.we-rank__list .title-wrap > img {
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-top: -5px;
}
.we-rank__list .title-wrap a {
    float: right;
    font-size: 14px;
    color: #999999;
}
.we-rank__list .title-wrap a:hover {
    color: rgb(60,171,255);
}
.we-rank__list .title-wrap a > i {
    width: 6px;
    height: 6px;
    border-width: 1px;
    margin-left: -4px;
}
.we-rank__list .title-wrap a > img {
    width: 8px;
    height: auto;
}
.we-rank__list .book-list {
    margin-top: 20px;
}
.we-rank__list .book-list li .open {
    display: none;
}
.we-rank__list .book-list li .close {
    display: -webkit-flex;
    display: flex;
}
.we-rank__list .book-list li .book-index {
    width: 40px;
    height: 32px;
    line-height: 32px;
    text-align: center;
}
.we-rank__list .book-list li .book-info {
    width: calc(100% - 40px);
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid #f0f0f0;
    padding: 4px 0;
    position: relative;
}
.we-rank__list .book-list li .book-info a.name {
    overflow: hidden;
    width: calc(100% - 64px);
    height: 31px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #1a1a1a;
    padding-right: 20px;
    box-sizing: border-box;
}
.we-rank__list .book-list li .book-info a:hover {
    color: rgb(60,171,255);
}
.we-rank__list .book-list li .book-info .total {
    position: absolute;
    right: 10px;
    color: #999999;
}
.we-rank__list .book-list li .open .book-index em {
    font-size: 12px;
    color: #ffffff;
    background-color: #999999;
    padding: 0 2px;
}
.we-rank__list .book-list li .close .book-index {
    color: #999999;
}
.we-rank__list .book-list li.unfold {
    zoom: 1;
    height: auto;
    margin-bottom: -1px;
}
.we-rank__list .book-list li.unfold .open {
    display: -webkit-flex;
    display: flex;
}
.we-rank__list .book-list li.unfold .close {
    display: none;
}
.we-rank__list .book-list li.unfold .book-index {
    height: 90px;
}
.we-rank__list .book-list li.unfold .book-index img {
    width: 20px;
    height: 9px;
}
.we-rank__list .book-list li.unfold .book-info {
    height: auto;
}
.we-rank__list .book-list li.unfold .book-info__cover {
    width: 67px;
    height: 90px;
    margin-top: -3px;
    margin-right: 8px;
    text-align: center;
}
.we-rank__list .book-list li.unfold .book-info__cover .link {
    display: inline-block;
}
.we-rank__list .book-list li.unfold .book-info__cover .link img {
    display: inline-block;
    width: 100%;
    height: auto;
}
.we-rank__list .book-list li.unfold .book-info__text {
    vertical-align: top;
    width: calc( 100% - 80px);
    height: 90px;
    position: relative;
}
.we-rank__list .book-list li.unfold .book-info__text h3 a {
    color: #000000;
    font-size: 16px;
}
.we-rank__list .book-list li.unfold .book-info__text h3 a:hover {
    color: rgb(60,171,255);
}
.we-rank__list .book-list li.unfold .book-info__text .author {
    color: #999999;
    justify-content: flex-start;
}
.we-rank__list .book-list li.unfold .book-info__text .author a {
    max-width: calc(100% - 60px);
}
.we-rank__list .book-list li.unfold .book-info__text .author em {
    font-size: 12px;
    border: 1px solid #c0c0c0;
    border-radius: 2px;
    padding: 0 2px;
    margin-left: 6px;
    line-height: 16px;
    height: 16px;
}
.we-rank__list .book-list li.unfold .book-info__text .total {
    position: absolute;
    bottom: 0;
    left: 0;
    color: rgb(60,171,255);
}
.we-rank__list .book-list li.unfold .book-info__text .total em{
    font-size:22px;
}
.we-rank__list .book-list li:first-child .open .book-index em {
    background-color: rgb(60,171,255);
}
.we-rank__list .book-list li:first-child .close .book-index {
    color: rgb(60,171,255);
}
.we-rank__list .book-list li:nth-child(2) .open .book-index em {
    background-color: #E67224;
}
.we-rank__list .book-list li:nth-child(2) .close .book-index {
    color: #E67224;
}
.we-rank__list .book-list li:nth-child(3) .open .book-index em {
    background-color: #E6BF24;
}
.we-rank__list .book-list li:nth-child(3) .close .book-index {
    color: #E6BF24;
}
